//
//  NSObject+DataBase.m
//  CedarSuperCloud
//
//  Created by lshenrong on 2017/11/24.
//  Copyright © 2017年 cedarhd. All rights reserved.
//

#import "NSObject+Database.h"
#import "CedarDataBaseStore.h"

@implementation NSObject (Database)

- (void)saveToDatabase{
    //CedarDataBaseStore *db =  [[CedarDataBaseStore alloc]init];
    //[db saveObject:self className:NSStringFromClass([self class])];
}

- (id)dataFormDatabase{
    //CedarDataBaseStore *db =  [[CedarDataBaseStore alloc]init];
    return nil;
    //return  [db getObjectWithClassName:NSStringFromClass([self class])];
}

- (void)deleteDatabase{
    //CedarDataBaseStore *db =  [[CedarDataBaseStore alloc]init];
    //[db deleteObjectByClassName:NSStringFromClass([self class])];
}


@end
